﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Markup;
using System.ComponentModel;

namespace BindingFinder
{
    public class TypeExtension : MarkupExtension
    {
        public TypeExtension()
        {
        }
        public TypeExtension(string typeName)
        {
            TypeName = typeName;
        }
        [DefaultValue(null)]
        public string TypeName { get; set; }


        public override object ProvideValue(IServiceProvider serviceProvider)
        {
            return TypeName;
        }
    }
}
